<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>任务七</title>
	<style>
*{
	padding: 0;
	margin: 0;
}
.wrap{
	/*background-color: green;*/
	width:1300px;
	margin: 0 auto;	 
}
.nav{
	height: 60px;
	position: relative;
	box-sizing: border-box;
	/*background-color: green;*/
}
.nav img:nth-child(1){
	margin: 10px 10px 0 50px;
	float: left;
}
.nav img:nth-child(4){
	float: right;
	margin: 20px 0;
	/*思考其他图片垂直居中方法*/
	/*vertical-align:middle;
	display: table-cell;*/
}
.nav ul{
	list-style: none;
	float: right;
	margin-right: 20px;

}
.nav ul li{
	float: left;
	margin: 0 15px;
	font-size: 14px;	
}
.nav ul li a{
	text-decoration: none;
	color: silver;
	line-height:  60px;
	height: 60px;
	display: block;
	box-sizing: border-box;
}
.nav ul li a:hover{
	border-bottom: 2px solid red;
	color: red;
}
.nav span:nth-child(2){
	font-size: 24px;
	float: left;
	height: 60px;
	line-height: 60px;
}
.nav span:nth-child(3){
	font-size: 14px;
	color: red;
	float: right;
	height: 60px;
	line-height: 60px;
	margin-right: 50px;
	margin-left: 5px;
}
 .background{
	width: 100%;
	height: 600px;
 	background:url(3.jpg) no-repeat;
 	background-size: cover;
 	position: relative;
 }
 .background span:nth-child(1){
	color: white;
	display: block;
	font: 60px "微软雅黑";
	position: absolute;
	top: 150px;
	left: 70px;
 }
 .background span:nth-child(2){
 	color: white;
 	display: block;
	font: 20px "微软雅黑";
	line-height: 30px;
	position: absolute;
	top: 250px;
	left: 80px;
 }
 .background button{
 	color: white;
 	background-color: #E8504F;
 	border: 1px solid #E8504F;
 	width: 320px;
 	height: 60px;
 	line-height: 60px;
 	font-size: 35px;
 	letter-spacing:5px;
 	position: absolute;
 	top: 350px;
	left: 80px;
	cursor:pointer;
 }
 .main1{
 	width: 100%;
 	height: 250px;
 /*	background-color: green;*/
 }
 .main1 li{
 	list-style: none;
 	float: left;
 	text-align: center;
 }
 .main1 li img{
	margin: 60px 135px 0 135px;
 }
 .main1 li p{
 	margin-top: 30px; 
 	color: silver;
 	border-right: 1px solid silver; 
 }
 .main1 li:nth-child(4) p{
 	border-right:none;
 	margin-top: 25px;
 } 
 .main2{
 	width: 100%;
 	height: 350px;
 	background-color: #EDEDED;
 	text-align: center;
 	padding-top: 100px;
 	box-sizing: border-box;
 }
 .main2 p{
 	color: #A3A3A3;
 	font-size: 50px;
 	letter-spacing: 5px;
 	margin-top: 20px;
 }
.main3{
	position: relative; 
	width: 100%;
	height: 400px;
	text-align:center;
	box-sizing: border-box;
}
.main3_background{
	width: 100%;
	height: 400px;
	position: absolute;
	background: url(map.jpg);
	-webkit-background-size: cover;
	background-size: cover;
	filter: blur(5px); /*背景毛玻璃效果*/
	z-index: -1;
}
.main3_p1{
	color: #E8504F;
	font-weight: bold;
	font-size: 20px;
	padding-top: 100px; 
	position: relative;
}
.main3_p1:after{
    content: "";
    position: absolute;
    margin-top: 40px; 
    width: 30px;
   	left: 50%;
   	transform: translateX(-50%);
    border-bottom: 2px solid #E8504F;
}
.main3 p:nth-child(3){
	color: #E8504F;
	font-weight: bold;
	font-size: 12px;
	margin-top: 40px;
	margin-bottom: 30px;
	 
}
.main3 select{
	width: 250px;
	height: 40px;
}
.main3 button{
	color: white;
 	background-color: #E8504F;
 	border: 1px solid #E8504F;
 	width: 250px;
 	height: 40px;
 	line-height: 40px;
 	font-size: 15px;
 	letter-spacing:5px;
 	cursor:pointer;
}
select option{
	background-color: silver;
}
select option:nth-child(1){
	display: none;	 
}
.main4{
	width: 100%;
	height: 600px;
	box-sizing: border-box;
	overflow: hidden;
	background-color: #F8F8F8;
}
.main4_wrap{
	margin: 0 auto;
	box-sizing: border-box;
	margin-top: 100px;
	/*一个盒子如果没有上补白(padding-top)和上边框(border-top)，那么这个盒子的上边距会和其内部文档流中的第一个子元素的上边距重叠。*/
	padding: 10px 0;
	width: 1200px;
	height: 400px;

}
.main4_son{
	width: 280px; /*=280*4+10*8=1200*/
	height: 350px;
	margin: 0 10px;
	float: left;
	text-align: center;
}
.main4_son p:nth-of-type(1){
	font: 16px "微软雅黑";
	color: black;
 	display: block;
 	margin: 5px;


}
.main4_son p:nth-of-type(2){
	font:12px "微软雅黑";
	color:silver;
	margin: 5px;
}
/*第一个div有margin-bottom:100px，第二个为margin-top:50px, 两者间距最终取100px*/
/*对于:nth-child选择器，在简单白话文中，意味着选择一个元素如果：

1这是个段落元素
2这是父标签的第二个孩子元素
对于:nth-of-type选择器，意味着选择一个元素如果：

1选择父标签的第二个段落子元素*/
.main4_imgwrap{
	width: 215px;
	height: 330px;
	border: 1px solid silver;
	padding: 5px;
	margin: 0 auto;
	box-sizing: border-box;
}
.main5{
	overflow: hidden;
}
/*overflow: hidden清除浮动，让子元素撑开父元素*/
.main5_left{
	width: 70%;
	height: 400px;
	float: left;
	background: url(timg.jpg);
	-webkit-background-size: cover;
	background-size: cover;
	text-align: center;

}
.main5_left p{
	color: white;
	margin: 15px;
	font-family: "微软雅黑";
}
.main5_left p:nth-child(1){
	font-size:20px; 
	margin-top: 100px;
	font-weight: bold;
}
.main5_left p:nth-child(2){
	font-size:70px;
	font-weight: bold;
	letter-spacing: 5px; 
}
.main5_left p:nth-child(3),.main5_left p:nth-child(4){
	font-size:12px;
}
.main5_right{
	width: 30%;
	height: 400px;
	/*background-color: green;*/
	float: left;
	text-align: center;
	position: relative;
}
.main5_right p:nth-child(1){
	margin-top: 150px;
	font-size: 20px;
	font-weight: bold;
}
/*margin-top margin-bottom以百分比计算时，也是以父元素的宽度来的，不是以父元素的高度*/
.main5_right p:nth-child(1) span{
	color: red;
}
.main5_right p:nth-child(2){
	color: silver;
	font-size: 12px;
	line-height: 20px;
	margin: 10px 50px;
	text-align: left;
}
.main5_right button{
	color: #97555C;
	border: 1px solid #97555C;
	width: 150px;
	height: 30px;
	background-color: white;
	cursor: pointer;/* hover时出现小手*/
}
.main_radio{
	margin-top: 80px;
}
.main_radio input{
	margin: 0 5px;
	width: 15px;
	height: 15px;
}
.sanjiao{
	position: absolute;
	top: 50%;
	left: -30px;
	border-top: 20px solid transparent; 
	border-right:30px solid white; 
	border-bottom: 20px solid transparent;
	/*transparent 透明色*/
}
.main6{
	overflow: hidden;
	text-align: center;
}
.main6_left{
	width: 35%;
	height: 400px;
	background-color: #E8504F;
	float: left;
}
.main6_left p,.main6_middle p{
	color: white;
	font:20px "微软雅黑";
	margin-top: 100px;
	line-height: 30px;
}
.main6_left p:after,.main6_middle p:after{
	content: "";
	width: 40px;
	border-bottom: 2px solid white;
	display: block;
	margin: 30px auto;
}
.main6_left button,.main6_middle button{
	width: 150px;
	height: 40px;
	font:20px "微软雅黑";
	border: 1px solid white;
	color: white;
	background-color:transparent;
	cursor:pointer;
}
.main6_middle{
	width: 35%;
	height: 400px;	
	float: left;
}
.main6_middle p{
	color: black;
}
.main6_middle p:after{
	border-color: silver;
}
.main6_middle button{
	color: #E8504F;
	border-color: #E8504F;
}
.main6_right{
	width: 30%;
	height: 400px;
	background:url(travel.jpg);
	-webkit-background-size: cover;
	background-size: cover;
	float: left;
	position: relative;
	/*background: url(travel.jpg);
	-webkit-background-size: cover;
	background-size: cover;
}*/
}
.main6_sanjiao{
	border-right:none;
	border-left:30px solid white;
	left: 0px;
}
.main7{
	width: 100%;
	height: 600px;
}
.main7_top{
	width: 100%;
	height: 200px;
	 
	text-align: center;
	position: relative;
}
.main7_top_wrap{
	width: 100%;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}
.main7_top p:nth-child(1){
	font:24px "微软雅黑";
}
.main7_top p:nth-child(1):after{
	content: "";
	border-bottom: 2px solid red;
	width: 30px;
	margin: 5px auto;
	display: block;

}
.main7_top p:nth-child(2){
	font:12px "微软雅黑";
	color: silver;
	margin-top: 15px;
}
/*main7_top_wrap辅助定位垂直居中*/

.main7_bottom_left {
	width: 35%;
	height: 300px;
	float: left;
	font:12px "微软雅黑" silver;
	padding: 0px 50px 0px 100px;
	/*padding定位中间的内容*/
	box-sizing: border-box;
}
.main7_bottom_left p{
	font:12px "微软雅黑";
	color: silver;
}
.main7_bottom_left p:nth-of-type(1),.main7_bottom_left p:nth-of-type(3),        .main7_bottom_left p:nth-of-type(5){
	font:18px "微软雅黑";
	color: black;
	margin: 18px 0;
	font-weight: bold;
}
.main7_bottom_left a{
	text-decoration: none;
	text-align: right;
	display: block;
	font:14px "微软雅黑";
	color: silver;
}
.main7_bottom_left span{
	transform:rotateZ(90deg);
	display: inline-block;
	padding: 0 5px;

}
.main7_bottom_right{
	width: 65%;
	height: 300px;
	float: left;
	text-align: center;
}
.text{
	width: 300px;
	height: 40px;
	margin: 10px 50px;
	box-sizing: border-box;
	background-color:#EDEDEF;
}
.main7_bottom_right label{
	position: relative;
}
.main7_bottom_right textarea{
	width: 700px;
	height: 120px;
	background-color:#EDEDEF;
}
.main7_bottom_right .submit{
	width: 700px;
	height: 40px;
	margin-top: 10px;
}
.main8{
	width: 100%;
	height: 500px;
	background-color: #33363F;
	text-align:center;
	overflow: hidden;
}
.main8 p{
	color: white;
}
.main8 p:nth-child(1){
	font: 20px "微软雅黑"; 
	font-weight: bold;
	margin:100px 0 20px;
}
.main8 p:nth-child(2){
	font: 12px "微软雅黑";
	padding: 0 380px; 
}
#main8_email{
	margin-top: 40px;
	display: block;
}
#main8_email input{
	width: 400px;
	height: 40px;
	box-sizing: border-box;
}
#main8_email button{
	width: 80px;
	height: 40px;
	background-color: #717179;
	border: none;
}
.main8 ul{
	list-style: none;
	margin: 0 auto;
	display: inline-block;
	margin-top: 30px;
}
.main8 ul li{
	float: left;
	padding: 0 15px;
}
.main9{
	width: 100%;
	height: 100px;
	background-color: #30303A;
	padding:0 50px; 
	box-sizing: border-box;
	font:12px "微软雅黑";
}
.main9 p{
	color: white;
	float: left;
	height: 100px;
	line-height: 100px;
}
.main9 a{
	color: white;
	text-decoration: none;
	float: right;
	height: 100px;
	line-height: 100px;
}
	</style>
</head>
<body>
	<div class="wrap">
	<div class="nav">
<img src="logo.jpg" alt="#">
<span>新世界</span>
<span>登录</span>
<img src="login.jpg" alt="">
<ul>
	<li><a href="#">首页</a></li>
	<li><a href="#">最新活动</a></li>
	<li><a href="#">项目介绍</a></li>
	<li><a href="#">爱心社区</a></li>
	<li><a href="#">关于我们</a></li>
</ul>
	</div>
	<div class="background">
	<span>Time of new life</span>
	<span>新时代，年轻的人们让我们一起<br/>体验新生活,享受新生活</span>
	<button type="submit">开始体验</button>
	</div>
	<div class="main1">
	<li><img src="list1.jpg" alt=""><p>打造全新世界观<br/>让你更爱你的生活</p></li>
	<li><img src="list2.jpg" alt=""><p>丰富多彩的公益活动<br/>发挥新世界的主人公意识
	</p></li>
	<li><img src="list3.jpg" alt=""><p>时尚的新理念<br/>超前体验未知的生活</p></li>
	<li><img src="list4.jpg" alt=""><p>完善的培养机制<br/>培养你全新的世界观</p></li>
	</div>
	<div class="main2">
	<img src="logo2.jpg" alt="">
	<p>关于新世界，你不知道的还有什么？</p>
	</div>
	<div class="main3">
	<div class="main3_background"></div>
	<p class="main3_p1">查找新世界城市活动信息</p> 
	<p>每个城市都有不同的活动信息，请自主查询您所需要了解的城市</p>
	<select name="国家" id="">
	<option value="国家" selected disabled>国家</option>
	<option value="中国">中国</option>
	<option value="中国">美国</option>
	<option value="中国">俄罗斯</option>
	</select>
	<select name="省份" id="">
	<option value="省份" selected disabled>省份</option>
	<option value="中国">北京</option>
	<option value="中国">上海</option>
	<option value="中国">重庆</option>
	</select>
	<select name="城市" id="">
	<option value="城市" selected disabled>城市</option>
	<option value="中国">北京</option>
	<option value="中国">上海</option>
	<option value="中国">重庆</option>
	</select>
	<button type="submit">搜索</button>
	</div>
	<div class="main4">
	<div class="main4_wrap"><!--外套 方便定位 -->
	<div class="main4_son"><div class="main4_imgwrap"><img src="beijing.jpg" alt=""></div><p>北京活动</p><p>社区大联盟</p></div>
	<div class="main4_son"><p>上海活动</p><p>夜上海新景观探索</p><div class="main4_imgwrap"><img src="shanghai.jpg" alt=""></div></div>
	<div class="main4_son"><div class="main4_imgwrap"><img src="shenzhen.jpg" alt=""></div><p>深圳活动</p><p>全新海岸线观点站</p></div>
	<div class="main4_son"><div class="main4_imgwrap"><img src="hongkong.jpg" alt=""></div><p>香港活动</p><p>奢侈消费大派送</p></div>
	</div>
	</div>
	<div class="main5">
	<div class="main5_left">
	<p>新世界</p>
	<p>TIME</p>
	<p>@新世界-北京</p>
	<p>2018.1.29</p>
	</div>
	<div class="main5_right">
	<p>新世界/<span>01</span></p>
	<p>这是一个新世界这是一个新世界这是一个新世界这是一个新世界这是一个新世界这是一个新世界这是一个新世界这是一个新世界</p>
	<button type="submit">更多详情</button>
 	<div class="main_radio" >
 	<input type="radio" name="fan" checked>
 	<input type="radio" name="fan">
 	<input type="radio" name="fan">
 	</div>
 	<div class="sanjiao">
 	</div>
	</div>
	</div>
	<div class="main6">
	<div class="main6_left">
	<p>新时代<br/>关于爱生活的我们</p>
	<button type="submit">查看更多</button>
	</div>
	<div class="main6_middle">
	<p>新时代<br/>关于爱生活的我们</p>
	<button type="submit">查看更多</button></div>
	<div class="main6_right">
		<div class="sanjiao main6_sanjiao"></div>
	</div>
	</div>
	<div class="main7">
		<div class="main7_top">
		<div class="main7_top_wrap">
		<p>成为我们的志愿者</p>
		<p>新时代的大家庭需要每一个爱生活的人加入，如果够年轻，有梦想，有激情<br/>
		那就不要犹豫，快来加入我们，成为改变所有人生活的人</p>
		</div>
		</div>
	<div class="main7_bottom">
	<div class="main7_bottom_left">
	<p>新世界志愿者协议</p>
	<p>加入新世界志愿者的人员必须遵守中华人民共和国的相关法律法规，并且本着平等资源的原则......</p>
	<a href="#"><span>></span>more</a> 
	<p>新世界志愿者权力</p>
	<p>新世界志愿者享受新世界内部所有资源共享的权利，并且享受所在城市新世界活动的优先参与资格</p>
	<a href="#"><span>></span>more</a> 
	<p>更多条款</p>
	<a href="#"><span>></span>more</a> 
	</div>
	<div class="main7_bottom_right">
	<label id="name">
	<input type="text" name="name" class="text" placeholder="姓名：">
	</label>
	<label id="age">
	<input type="text" name="age" class="text" placeholder="年龄：">
	</label>
	<label id="tel">
	<input type="text" name="tel" class="text" placeholder="联系方式：">
	</label>
	<label id="address">
	<input type="text" name="address" class="text" placeholder="联系地址：">
	</label>
	<textarea cols="30" rows="10" placeholder="请简单描述您梦想的生活："></textarea>
	<input type="submit" value="提交申请" class="submit">
	</div>
	</div>
	</div>
	<div class="main8">
	<p>联系我们</p>
	<p>为了更好的获取我们最新的产品资讯，您可以留下您的电子邮箱快速订阅我们的产品资讯也可以通过以下任何方式关注我们的动态</p>
	<label id="main8_email">
	<input type="email" placeholder="someone@email.com"><button type="submit">提交</button>
	</label>
	<ul>
		<li><a href="#"><img src="qq.jpg" alt=""></a></li>
		<li><a href="#"><img src="weibo.jpg" alt=""></a></li>
		<li><a href="#"><img src="feixin.jpg" alt=""></a></li>
		<li><a href="#"><img src="web.jpg" alt=""></a></li>
	</ul>
	</div>
	<div class="main9">
	<p>@2018新世界</p>
	<a href="#">Back to top</a>
	</div>
	</div> 

</body>
</html>
<!-- 完结撒花 -->